package com.example.myprojectci.demos.controller;

import com.example.myprojectci.demos.model.resp.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuzhiyong
 * @date 2023/4/18
 * description:
 */
@Api(tags = "测试接口")
@RestController
public class TestController {

    @ApiOperation(value = "测试接口")
    @GetMapping("/test")
    public Result<String> test() {
        return Result.OK("测试成功:1.0.10");
    }

}
